#ifndef MODEL_CONSOLE_H
#define MODEL_CONSOLE_H

#include <QObject>

namespace models {

//
// models::Console
//

class Console : public QObject
{
  Q_OBJECT

public:
  Console(QObject * Parent_ = NULL);
  virtual ~Console();

signals:
  void OnInput(const QString & Text_);
  void OnOutput(const QString & Text_);
  
public slots:
  void AttachStdIn();
  void AttachStdOut();

  void SendInput(const QString & Text_);
  void SendOutput(const QString & Text_);
};

} // namespace models {

#endif // MODEL_CONSOLE_H